Lkn\IntegrationRedeForWoocommerce\Includes\LknIntegrationRedeForWoocommerceWcMaxipagoCredit D

Total Complexity 158
Dependencies 4
Dependents 3
Total lines 1,077
Lines of code 874
Logical lines of code 365
Comment lines 57
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
process_payment()
D
15
56 272
regOrderLogs()
C
36 26 70
process_refund()
B
32 13 111
validateCpfCnpj()
B
43 17 46
getInstallments()
A
42 15 47
initFormFields()
A
29
3 170
validate_fields()
A
49 10 31
checkoutScripts()
S
51 5 24
addNeighborhoodFieldToCheckout()
S
55 3 19
displayMeta()
S
55 2 18
getMerchantAuth()
S
57 2 15
render_payment_fields_with_total()
S
66 3 9
__construct()
S
54 1 22
getCheckoutForm()
S
62 1 13
getConfigsMaxipagoCredit()
S
68 1 7